﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for SThread
/// </summary>
public class SThread
{
    private string _Forum;

    private string _Header;

    private string _Body;

    private int _NumOfReplies;

    private int _NumOfViews;

    private string _Creator;

    private string _PublishDate;

    private string _LastDate;

    public string Forum { get { return _Forum; } }
    public string Header { get { return _Header; } }
    public string Body { get { return _Body; } }
    public int NumOfReplies { get { return _NumOfReplies; } }
    public int NumOfViews { get { return _NumOfViews; } }
    public string Creator { get { return _Creator; } }
    public string PublishDate { get { return _PublishDate; } }
    public string LastDate { get { return _LastDate; } }

    public SThread(string forum, string header, string body, int numOfReplies, int numOfViews, string creator, string publishDate, string lastDate)
	{
        _Forum = forum;
        _Header = header;
        _Body = body;
        _NumOfReplies = numOfReplies;
        _NumOfViews = numOfViews;
        _Creator = creator;
        _PublishDate = publishDate;
        _LastDate = lastDate;
	}
}